Read Range

Command Prototype

arrayRet = Excel.ReadRange(objExcelWorkBook,sheet,strRange)

Command Description

Read values of the specified range in a sheet, and return a two-dimensional array

Parameter Description
Required Parameter
objExcelWorkBook--Excel workbook object (workbook opened with "Open Excel" command (Excel.OpenExcel))
sheet--If a string is used, it refers to the name of the specified sheet; if a number is used, it refers to the index of the specified sheet (starting from 0)
strRange--The specified cell, supports two forms: cell names (such as "A1:B2") or two-dimensional array of rows and columns (such as [[cell1 Row number, cell1 column number],[cell2 Row number, cell2 column number]]). When using cell names, it is case insensitive
return
arrayRet--The variable used to save the output of the function call

results matching ""

    No results matching ""